import { IPSDEGantt } from './ipsdegantt';
import { PSDETreeGridExImpl } from './psdetree-grid-ex-impl';

export class PSDEGanttImpl extends PSDETreeGridExImpl implements IPSDEGantt {
  get beginDataItemName(): string {
    return this.M.beginDataItemName;
  }

  get endDataItemName(): string {
    return this.M.endDataItemName;
  }

  get finishDataItemName(): string {
    return this.M.finishDataItemName;
  }

  get prevDataItemName(): string {
    return this.M.prevDataItemName;
  }

  get sNDataItemName(): string {
    return this.M.sNDataItemName;
  }

  get totalDataItemName(): string {
    return this.M.totalDataItemName;
  }

  get cls(): string {
    return 'PSDEGanttImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.tree.IPSDEGantt') return true;
    return super.instanceof(cls);
  }
}
